package yur.wedding.modules.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;


import yur.wedding.modules.sys.entity.SysRoleDoorEntity;
import yur.wedding.utils.PageUtils;

import java.util.List;
import java.util.Map;

/**
 * @author Yur
 * @email ${email}
 * @date 2022-05-06 19:20:22
 */
public interface SysRoleDoorService extends IService<SysRoleDoorEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 门户权限 添加  修改方法共用
     *
     * @param roleId
     * @param doorIdList
     */
    void saveOrUpdate(Long roleId, List<Long> doorIdList);

    /**
     * 查询角色对应的门户
     *
     * @param role_id
     * @return
     */
    List<Long> queryDoorIdList(Long role_id);






}

